-- GENERATED SPELL FOR [Qiraji Swarmguard] --


function spell0_15343(pUnit, Event) --@Sundering Cleave,n/a--
pUnit:FullCastSpellOnTarget(25174,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15343', 30318, 1)
end

function Sorts_15343(pUnit, Event)
local choix_sorts_15343 = math.random(0, 0)
if choix_sorts_15343 == 0 then
pUnit:RegisterEvent('spell0_15343', 1, 1)
end
end

function mob15343_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15343', math.random(1500, 3000), 1)
end

function mob15343_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15343_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15343_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15343, 1, 'mob15343_Action')
RegisterUnitEvent(15343, 2, 'mob15343_Leave')
RegisterUnitEvent(15343, 3, 'mob15343_Kill')
RegisterUnitEvent(15343, 4, 'mob15343_Die')
